import {wx} from '../../../weixin2alipay/index.js';
import {Page,Component} from '../../../weixin2alipay/index.js';
Page({
    "onShareAppMessage"(){
      return {
        "title":'模态弹窗',
        "path":'packageAPI/pages/modal/modal'
};
    },
    "data":{
        "modalHidden":true,
        "modalHidden2":true
},
    "modalTap"(){
      wx.showModal({
        "title":'弹窗标题',
        "content":'弹窗内容，告知当前状态、信息和解决方法，描述文字尽量控制在三行内',
        "showCancel":false,
        "confirmText":'确定'
});
    },
    "noTitlemodalTap"(){
      wx.showModal({
        "content":'弹窗内容，告知当前状态、信息和解决方法，描述文字尽量控制在三行内',
        "confirmText":'确定',
        "cancelText":'取消'
});
    }
});

